<div class="col-lg-12 wrapperbox">
	<form class="form-horizontal" role="form" method="POST">	  
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">单位名称</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbunitname" placeholder="单位名称">         
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">简码</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbshortcode" placeholder="简码">         
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">单位地址</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbaddress" placeholder="单位地址">         
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">联系人</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbcontact" placeholder="联系人">
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">联系电话</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbtel" placeholder="联系电话">
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">排序</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbsort" placeholder="排序">
			</div>
		</div>
	   </form> 		
   </div>
   <script>
	   var str = location.hash.split("=")[1];
	   $.get("/base/unedit",{str},function(data){
			$("#tbunitname").val(data.tbunitname)
			$("#tbshortcode").val(data.tbshortcode)
			$("#tbaddress").val(data.tbaddress)
			$("#tbcontact").val(data.tbcontact)
			$("#tbtel").val(data.tbtel)
			$("#tbsort").val(data.tbsort)
	   })
   </script>